#ifndef _MM_H
#define _MM_H

#define PAGE_SIZE 4096
typedef int key_t;
typedef struct _shm{
    key_t key;
    int id;
    unsigned int size;
    unsigned long paddr;
    struct _shm *next;
}shm_t;

extern unsigned long get_free_page(void);
extern unsigned long put_page(unsigned long page,unsigned long address);
extern void free_page(unsigned long addr);

#endif
